function stateIf(state) {
    switch (state) {
        case 1:
            return "进行中";
        case 2:
            return "已完成";
        case 3:
            return "任务终止";
        case 4:
            return "任务等待中";
        default:
    }
}

function stateDataIf(state) {
    switch (state) {
        case "1":
            return "正常数据";
        case "2":
            return "无数据";
        case "3":
            return "获取异常";
        default:   ;
    }
}

function ifType(type) {
    switch (type) {
        case "db":
            return "低保";
        case "tk":
            return "特困";
        case "hh":
            return "活化";
        case "hy":
            return "婚姻";
        case "lxbt":
            return "两项补贴";
        case "zp":
            return "照片";
        case "jtgx":
            return "家庭关系";
    }
}

function ifTimer(value) {
    switch (value) {
        case "ONE":
            return "执行一次";
        case "DAY":
            return "每天执行";
        case "WEEK":
            return "每周执行";
        case "MONTH":
            return "每月执行";
        default:
            return "无定时";
    }
}